package com.tinyspot.concrete.common.convert;

import org.mapstruct.Named;

/**
 * @author Tinyspot
 * @date 2023-01-19 15:18
 */
public class MapStructUtils {
    @Named("booleanToString")
    public String booleanToString(boolean flag) {
        return flag ? "是" : "否";
    }
}
